<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::dm::rspsLink&lt; ITFC_TYPE &gt; 模板类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../d8/d2d/namespacewheels_1_1dm.html">dm</a></li><li class="navelem"><a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">rspsLink</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="../../d3/d92/classwheels_1_1dm_1_1rsps_link-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::dm::rspsLink&lt; ITFC_TYPE &gt; 模板类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a>&gt;</code></p>
<div class="dynheader">
wheels::dm::rspsLink&lt; ITFC_TYPE &gt; 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d3b/classwheels_1_1dm_1_1rsps_link__coll__graph.png" border="0" usemap="#awheels_1_1dm_1_1rsps_link_3_01_i_t_f_c___t_y_p_e_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1dm_1_1rsps_link_3_01_i_t_f_c___t_y_p_e_01_4_coll__map" id="awheels_1_1dm_1_1rsps_link_3_01_i_t_f_c___t_y_p_e_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,173,400"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:aae5fa40c645ba8062cf1ba0402053613" id="r_aae5fa40c645ba8062cf1ba0402053613"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aae5fa40c645ba8062cf1ba0402053613">itfc_t</a> = typename std::remove_pointer&lt; typename std::decay&lt; ITFC_TYPE &gt;::type &gt;::type</td></tr>
<tr class="separator:aae5fa40c645ba8062cf1ba0402053613"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acae5f8f967cf34690adc5e6c537bdbde" id="r_acae5f8f967cf34690adc5e6c537bdbde"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acae5f8f967cf34690adc5e6c537bdbde">link_t</a> = std::list&lt; <a class="el" href="#aae5fa40c645ba8062cf1ba0402053613">itfc_t</a>* &gt;</td></tr>
<tr class="separator:acae5f8f967cf34690adc5e6c537bdbde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad763d4457c8f664e934e15d222b31b5c" id="r_ad763d4457c8f664e934e15d222b31b5c"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a> = typename link_t::iterator</td></tr>
<tr class="separator:ad763d4457c8f664e934e15d222b31b5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab19c205cbbabecbc5048acd7e6f17c1c" id="r_ab19c205cbbabecbc5048acd7e6f17c1c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab19c205cbbabecbc5048acd7e6f17c1c">rspsLink</a> ()</td></tr>
<tr class="separator:ab19c205cbbabecbc5048acd7e6f17c1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bf5e1d5f664554a4302175dc6aa5f80" id="r_a3bf5e1d5f664554a4302175dc6aa5f80"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3bf5e1d5f664554a4302175dc6aa5f80">~rspsLink</a> ()</td></tr>
<tr class="separator:a3bf5e1d5f664554a4302175dc6aa5f80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd2e30101a7446c66550c7e9eeaaba5f" id="r_acd2e30101a7446c66550c7e9eeaaba5f"><td class="memTemplParams" colspan="2">template&lt;typename ... Params&gt; </td></tr>
<tr class="memitem:acd2e30101a7446c66550c7e9eeaaba5f"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#acd2e30101a7446c66550c7e9eeaaba5f">request</a> (Params &amp;&amp;... params)</td></tr>
<tr class="memdesc:acd2e30101a7446c66550c7e9eeaaba5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">以责任链模式执行的时候接口函数返回false则停止继续传递  <br /></td></tr>
<tr class="separator:acd2e30101a7446c66550c7e9eeaaba5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e448c51e39cdd80b5c5771be651c956" id="r_a3e448c51e39cdd80b5c5771be651c956"><td class="memTemplParams" colspan="2">template&lt;typename Func_t , typename... Params&gt; </td></tr>
<tr class="memitem:a3e448c51e39cdd80b5c5771be651c956"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a3e448c51e39cdd80b5c5771be651c956">requestCallback</a> (Func_t &amp;&amp;fun, Params &amp;&amp;...args)</td></tr>
<tr class="memdesc:a3e448c51e39cdd80b5c5771be651c956"><td class="mdescLeft">&#160;</td><td class="mdescRight">以责任链模式执行的时候接口函数返回false则停止继续传递。这个方法用于需要使用回调函数针对 每一个责任链上的负责者进行精细化处理的情况。使用自定义接口的时候，使用宏定义自己的接口或者多个 接口，就必须使用这个方法执行请求  <br /></td></tr>
<tr class="separator:a3e448c51e39cdd80b5c5771be651c956"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae291ed3f34a3c8ecb022553c7b39a925" id="r_ae291ed3f34a3c8ecb022553c7b39a925"><td class="memTemplParams" colspan="2">template&lt;typename subType &gt; </td></tr>
<tr class="memitem:ae291ed3f34a3c8ecb022553c7b39a925"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#ae291ed3f34a3c8ecb022553c7b39a925">push_back</a> (subType *rsps)</td></tr>
<tr class="memdesc:ae291ed3f34a3c8ecb022553c7b39a925"><td class="mdescLeft">&#160;</td><td class="mdescRight">在最后添加新的处理对象  <br /></td></tr>
<tr class="separator:ae291ed3f34a3c8ecb022553c7b39a925"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42ef17a326ccdccdbcf7aad2349a6cfd" id="r_a42ef17a326ccdccdbcf7aad2349a6cfd"><td class="memTemplParams" colspan="2">template&lt;typename subType &gt; </td></tr>
<tr class="memitem:a42ef17a326ccdccdbcf7aad2349a6cfd"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a42ef17a326ccdccdbcf7aad2349a6cfd">insert</a> (<a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a> it, subType *rsps)</td></tr>
<tr class="memdesc:a42ef17a326ccdccdbcf7aad2349a6cfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">插入责任对象  <br /></td></tr>
<tr class="separator:a42ef17a326ccdccdbcf7aad2349a6cfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e7d72ffb47a7430d36041a3683de5a5" id="r_a0e7d72ffb47a7430d36041a3683de5a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0e7d72ffb47a7430d36041a3683de5a5">erase</a> (<a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a> it)</td></tr>
<tr class="memdesc:a0e7d72ffb47a7430d36041a3683de5a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除链上的一个对象。删除链中间的对象不会影响连上传递过程  <br /></td></tr>
<tr class="separator:a0e7d72ffb47a7430d36041a3683de5a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fea8c815648a0a237309de9229850f8" id="r_a3fea8c815648a0a237309de9229850f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3fea8c815648a0a237309de9229850f8">erase</a> (<a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a> start, <a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a> <a class="el" href="#a6f15c835255c36908847147f31947f10">end</a>)</td></tr>
<tr class="memdesc:a3fea8c815648a0a237309de9229850f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除链上的多个对象， 删除[start, end)区间的内容。删除链中间的对象不会影响连上传递过程  <br /></td></tr>
<tr class="separator:a3fea8c815648a0a237309de9229850f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc3cd72f896c8494ed13555765a1edbe" id="r_afc3cd72f896c8494ed13555765a1edbe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afc3cd72f896c8494ed13555765a1edbe">begin</a> ()</td></tr>
<tr class="separator:afc3cd72f896c8494ed13555765a1edbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f15c835255c36908847147f31947f10" id="r_a6f15c835255c36908847147f31947f10"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6f15c835255c36908847147f31947f10">end</a> ()</td></tr>
<tr class="separator:a6f15c835255c36908847147f31947f10"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:aac5e822074907f78f1400833f4b40e2d" id="r_aac5e822074907f78f1400833f4b40e2d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#acae5f8f967cf34690adc5e6c537bdbde">link_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aac5e822074907f78f1400833f4b40e2d">m_link__</a></td></tr>
<tr class="separator:aac5e822074907f78f1400833f4b40e2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b57dbd1b6b95169e5e9f507ba3cf1c0" id="r_a6b57dbd1b6b95169e5e9f507ba3cf1c0"><td class="memItemLeft" align="right" valign="top">std::mutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6b57dbd1b6b95169e5e9f507ba3cf1c0">m_mutex__</a></td></tr>
<tr class="separator:a6b57dbd1b6b95169e5e9f507ba3cf1c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename ITFC_TYPE&gt;<br />
class wheels::dm::rspsLink&lt; ITFC_TYPE &gt;</div>
<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00040">40</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="ad763d4457c8f664e934e15d222b31b5c" name="ad763d4457c8f664e934e15d222b31b5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad763d4457c8f664e934e15d222b31b5c">&#9670;&#160;</a></span>iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::iterator = typename link_t::iterator</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00047">47</a> 行定义.</p>

</div>
</div>
<a id="aae5fa40c645ba8062cf1ba0402053613" name="aae5fa40c645ba8062cf1ba0402053613"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae5fa40c645ba8062cf1ba0402053613">&#9670;&#160;</a></span>itfc_t</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::itfc_t = typename std::remove_pointer&lt; typename std::decay&lt; ITFC_TYPE &gt;::type &gt;::type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00043">43</a> 行定义.</p>

</div>
</div>
<a id="acae5f8f967cf34690adc5e6c537bdbde" name="acae5f8f967cf34690adc5e6c537bdbde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acae5f8f967cf34690adc5e6c537bdbde">&#9670;&#160;</a></span>link_t</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::link_t = std::list&lt; <a class="el" href="#aae5fa40c645ba8062cf1ba0402053613">itfc_t</a>* &gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00046">46</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="ab19c205cbbabecbc5048acd7e6f17c1c" name="ab19c205cbbabecbc5048acd7e6f17c1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab19c205cbbabecbc5048acd7e6f17c1c">&#9670;&#160;</a></span>rspsLink()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::rspsLink </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00052">52</a> 行定义.</p>

</div>
</div>
<a id="a3bf5e1d5f664554a4302175dc6aa5f80" name="a3bf5e1d5f664554a4302175dc6aa5f80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bf5e1d5f664554a4302175dc6aa5f80">&#9670;&#160;</a></span>~rspsLink()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::~<a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">rspsLink</a> </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00053">53</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="afc3cd72f896c8494ed13555765a1edbe" name="afc3cd72f896c8494ed13555765a1edbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc3cd72f896c8494ed13555765a1edbe">&#9670;&#160;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a> <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::begin </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00141">141</a> 行定义.</p>

</div>
</div>
<a id="a6f15c835255c36908847147f31947f10" name="a6f15c835255c36908847147f31947f10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f15c835255c36908847147f31947f10">&#9670;&#160;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a> <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::end </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00145">145</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d0/d0c/classwheels_1_1dm_1_1rsps_link_a6f15c835255c36908847147f31947f10_icgraph.png" border="0" usemap="#ad0/d0c/classwheels_1_1dm_1_1rsps_link_a6f15c835255c36908847147f31947f10_icgraph" alt=""/></div>
<map name="ad0/d0c/classwheels_1_1dm_1_1rsps_link_a6f15c835255c36908847147f31947f10_icgraph" id="ad0/d0c/classwheels_1_1dm_1_1rsps_link_a6f15c835255c36908847147f31947f10_icgraph">
<area shape="rect" title=" " alt="" coords="199,13,373,40"/>
<area shape="rect" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html#a3fea8c815648a0a237309de9229850f8" title="删除链上的多个对象， 删除[start, end)区间的内容。删除链中间的对象不会影响连上传递过程" alt="" coords="5,5,151,48"/>
<area shape="poly" title=" " alt="" coords="183,29,151,29,151,24,183,24"/>
</map>
</div>

</div>
</div>
<a id="a0e7d72ffb47a7430d36041a3683de5a5" name="a0e7d72ffb47a7430d36041a3683de5a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e7d72ffb47a7430d36041a3683de5a5">&#9670;&#160;</a></span>erase() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::erase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a></td>          <td class="paramname"><span class="paramname"><em>it</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除链上的一个对象。删除链中间的对象不会影响连上传递过程 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">it[</td><td>I ], 要删除的迭代器 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00127">127</a> 行定义.</p>

</div>
</div>
<a id="a3fea8c815648a0a237309de9229850f8" name="a3fea8c815648a0a237309de9229850f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fea8c815648a0a237309de9229850f8">&#9670;&#160;</a></span>erase() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::erase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a></td>          <td class="paramname"><span class="paramname"><em>start</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a></td>          <td class="paramname"><span class="paramname"><em>end</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除链上的多个对象， 删除[start, end)区间的内容。删除链中间的对象不会影响连上传递过程 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">start,end[</td><td>I ], 要删除的迭代器 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00136">136</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d0/d0c/classwheels_1_1dm_1_1rsps_link_a3fea8c815648a0a237309de9229850f8_cgraph.png" border="0" usemap="#ad0/d0c/classwheels_1_1dm_1_1rsps_link_a3fea8c815648a0a237309de9229850f8_cgraph" alt=""/></div>
<map name="ad0/d0c/classwheels_1_1dm_1_1rsps_link_a3fea8c815648a0a237309de9229850f8_cgraph" id="ad0/d0c/classwheels_1_1dm_1_1rsps_link_a3fea8c815648a0a237309de9229850f8_cgraph">
<area shape="rect" title="删除链上的多个对象， 删除[start, end)区间的内容。删除链中间的对象不会影响连上传递过程" alt="" coords="5,5,151,48"/>
<area shape="rect" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html#a6f15c835255c36908847147f31947f10" title=" " alt="" coords="199,13,373,40"/>
<area shape="poly" title=" " alt="" coords="151,24,183,24,183,29,151,29"/>
</map>
</div>

</div>
</div>
<a id="a42ef17a326ccdccdbcf7aad2349a6cfd" name="a42ef17a326ccdccdbcf7aad2349a6cfd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42ef17a326ccdccdbcf7aad2349a6cfd">&#9670;&#160;</a></span>insert()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<div class="memtemplate">
template&lt;typename subType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::insert </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="#ad763d4457c8f664e934e15d222b31b5c">iterator</a></td>          <td class="paramname"><span class="paramname"><em>it</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">subType *</td>          <td class="paramname"><span class="paramname"><em>rsps</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>插入责任对象 </p>

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00117">117</a> 行定义.</p>

</div>
</div>
<a id="ae291ed3f34a3c8ecb022553c7b39a925" name="ae291ed3f34a3c8ecb022553c7b39a925"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae291ed3f34a3c8ecb022553c7b39a925">&#9670;&#160;</a></span>push_back()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<div class="memtemplate">
template&lt;typename subType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::push_back </td>
          <td>(</td>
          <td class="paramtype">subType *</td>          <td class="paramname"><span class="paramname"><em>rsps</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在最后添加新的处理对象 </p>
<dl class="tparams"><dt>模板参数</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">subType</td><td>对象类型。对象类型必须是rspsprivate__::respItfc__的子类。当对象类型不是继承自rspsprivate__::respItfc__ 在编译过程中会报出错误 </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">rsps[</td><td>I ], 要添加对象指针 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>警告</dt><dd>责任链模式对象并不会管理上所有处理对象的内存情况，如果需要释放对象需要在外部执行释放操作 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00106">106</a> 行定义.</p>

</div>
</div>
<a id="acd2e30101a7446c66550c7e9eeaaba5f" name="acd2e30101a7446c66550c7e9eeaaba5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd2e30101a7446c66550c7e9eeaaba5f">&#9670;&#160;</a></span>request()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<div class="memtemplate">
template&lt;typename ... Params&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::request </td>
          <td>(</td>
          <td class="paramtype">Params &amp;&amp;...</td>          <td class="paramname"><span class="paramname"><em>params</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>以责任链模式执行的时候接口函数返回false则停止继续传递 </p>
<dl class="tparams"><dt>模板参数</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Params</td><td>请求的参数类型表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">params</td><td>参数内容 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00060">60</a> 行定义.</p>

</div>
</div>
<a id="a3e448c51e39cdd80b5c5771be651c956" name="a3e448c51e39cdd80b5c5771be651c956"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e448c51e39cdd80b5c5771be651c956">&#9670;&#160;</a></span>requestCallback()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<div class="memtemplate">
template&lt;typename Func_t , typename... Params&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::requestCallback </td>
          <td>(</td>
          <td class="paramtype">Func_t &amp;&amp;</td>          <td class="paramname"><span class="paramname"><em>fun</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Params &amp;&amp;...</td>          <td class="paramname"><span class="paramname"><em>args</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>以责任链模式执行的时候接口函数返回false则停止继续传递。这个方法用于需要使用回调函数针对 每一个责任链上的负责者进行精细化处理的情况。使用自定义接口的时候，使用宏定义自己的接口或者多个 接口，就必须使用这个方法执行请求 </p>
<dl class="tparams"><dt>模板参数</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Params</td><td>请求的参数类型表。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">fun[</td><td>I ], 回调处理函数，函数原型为 bool func( itfc_t * resp , params... ) </td></tr>
    <tr><td class="paramname">params</td><td>参数内容 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00083">83</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="aac5e822074907f78f1400833f4b40e2d" name="aac5e822074907f78f1400833f4b40e2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac5e822074907f78f1400833f4b40e2d">&#9670;&#160;</a></span>m_link__</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#acae5f8f967cf34690adc5e6c537bdbde">link_t</a> <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::m_link__</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00049">49</a> 行定义.</p>

</div>
</div>
<a id="a6b57dbd1b6b95169e5e9f507ba3cf1c0" name="a6b57dbd1b6b95169e5e9f507ba3cf1c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b57dbd1b6b95169e5e9f507ba3cf1c0">&#9670;&#160;</a></span>m_mutex__</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::mutex <a class="el" href="../../d0/d0c/classwheels_1_1dm_1_1rsps_link.html">wheels::dm::rspsLink</a>&lt; ITFC_TYPE &gt;::m_mutex__</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a> 第 <a class="el" href="../../d7/d12/rsps_link_8hpp_source.html#l00050">50</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/designM/<a class="el" href="../../d7/d12/rsps_link_8hpp_source.html">rspsLink.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
